package com.eastcom.bm.service.impl;

import java.util.List;

import org.apache.log4j.Logger;

import com.eastcom.bm.atom.Atom_NeSpecialThreadhold;
import com.eastcom.bm.dao.DAOFactory;
import com.eastcom.bm.dao.INeSpecialThreadHoldDao;
import com.eastcom.bm.service.INeSpecialThreadHoldService;
import com.eastcom.common.db.JDBCTemplate;
import com.eastcom.providor.BMSetting;


public class NeSpecialThreadHoldService implements INeSpecialThreadHoldService {

	private static Logger log = BMSetting.getBMlog();

	public List<Atom_NeSpecialThreadhold> getAllNeSpecialThreadhold() {
		// TODO Auto-generated method stub
		try{
			INeSpecialThreadHoldDao specialTresDao=DAOFactory.getInstance().getNeSpecialThreadHoldDao();
			return specialTresDao.getAllNeSpecialThreadhold();
		}
		catch(Exception e){
			log.error("INeSpecialThreadHoldService getAllNeSpecialThreadhold error", e);
		}
		finally{
			JDBCTemplate.doSessionFinally();
		}
		
		return null;
	}

}
